<?php /* Smarty version Smarty-3.1.8, created on 2012-07-05 11:54:51
         compiled from "C:/xampp/htdocs/ecommerce/www/themes/adm/templates\especificacao\cadastro.tpl" */ ?>
<?php /*%%SmartyHeaderCode:84174ff5aabb8a4081-39900501%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'daff3b9a03812a3a6636283be1ef2987ba0099d2' => 
    array (
      0 => 'C:/xampp/htdocs/ecommerce/www/themes/adm/templates\\especificacao\\cadastro.tpl',
      1 => 1338309353,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '84174ff5aabb8a4081-39900501',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'lista' => 0,
    'list' => 0,
    'grades' => 0,
    'grade' => 0,
    'status' => 0,
    'k' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4ff5aabb993731_84249402',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4ff5aabb993731_84249402')) {function content_4ff5aabb993731_84249402($_smarty_tpl) {?>    <form action="<?php echo @BASE_URL_ADM;?>
especificacoes/cadastrodb" method="post" name="form">
	<table border="0" cellpadding="4" cellspacing="1" class="tb_cadastro">
	<tfoot>
		<tr>
			<td colspan="2">
				<input type="submit" name="submit" value="Salvar" style="float:left;" />
				<input type="button" name="voltar" value="Voltar" style="float:right;" onclick="javascript:history.back();" />
			</td>
		</tr>
	</tfoot>
	
	<tbody>
		<tr>
			<td class="label"><label for="codEsp">Tipo:</label></td>
			<td class="value">
                <select name="codEsp" id="codEsp">
                    <option value="">-- Selecione --</option>
                    <?php  $_smarty_tpl->tpl_vars['list'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['list']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['lista']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['list']->key => $_smarty_tpl->tpl_vars['list']->value){
$_smarty_tpl->tpl_vars['list']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['list']->value['codEsp'];?>
"><?php echo $_smarty_tpl->tpl_vars['list']->value['dscEsp'];?>
</option>
                    <?php } ?>
                </select>
            </td>
		</tr>
		<tr>
			<td class="label"><label for="esdDsc">Especifica&ccedil;&atilde;o:</label></td>
			<td class="value"><input name="esdDsc" type="text" id="esdDsc" size="45" value="" /></td>
		</tr>
	</tbody>
	
    <tbody id="tipo_grade">
		<tr>
			<td class="label"><label for="grpGrd">Grupo de Grade:</label></td>
			<td class="value">
                <select name="grpCod" id="grpCod">
                    <option value="">-- Selecione --</option>
                    <?php  $_smarty_tpl->tpl_vars['grade'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['grade']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['grades']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['grade']->key => $_smarty_tpl->tpl_vars['grade']->value){
$_smarty_tpl->tpl_vars['grade']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['grade']->value['grpCod'];?>
"><?php echo $_smarty_tpl->tpl_vars['grade']->value['grpNom'];?>
</option>
                    <?php } ?>
                </select>
            </td>
		</tr>
	</tbody>
	<tbody id="rgb">
		<tr>
			<td class="label"><label for="esdRGB">RGB:</label></td>
			<td class="value"><input name="esdRGB" type="text" id="esdRGB" size="10" value="" style="background-color:#<<?php ?>?=@$esdRGB;?<?php ?>>" /> Ex: FFFFFF</td>
		</tr>
	</tbody>
	
	<tbody>
		<tr>
			<td class="label"><label for="esdSta">Ativo:</label></td>
			<td class="value">
				<select name="esdSta" id="esdSta">
				    <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['status']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value;?>
</option>
                    <?php } ?>
				</select>
			</td>
		</tr>
	</tbody>
	</table>
	</form><?php }} ?>